<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>      
<div class="sub-content">
	<a href="${pageContext.request.contextPath}/role">Danh sách</a> 
	<c:url var="action" value="/role/confirm"></c:url>
	<form:form method="post" action="${action}" commandName="obj">
		<h3><span class="mark-title"></span></h3>
		<div><form:errors path="*" cssClass="error" /></div>
		<form:hidden path="roleId" cssClass="mark-id"/>
		<table>
			<tr>
				<td class="column1">Tên vai trò:<span class="req-field"></span></td>
				<td><form:input path="roleName" cssClass="${roleName}"/></td>
			</tr>
			<tr>
				<td class="column1">Mô tả chi tiết:<span class="req-field"></span></td>
				<td><form:input path="roleDescription" cssClass="${roleDescription}"/></td>
			</tr>
			<tr><td class="column1"></td>
				<td><input type="submit" value=" Lưu " /></td>
			</tr>	
		</table>
	</form:form>
</div>	
